import request from '@/utils/request'
const path = "/api"

//查询提现列表
export function findOutMoneyList(params) {
    return request({
        url: path + '/outMoney/',
        method: 'get',
        params
    })
}
//佣金收益明细
export function findInMoneyList(params) {
    return request({
        url: path + '/inMoney/',
        method: 'get',
        params
    })
}
//团队考核明细
export function findTeamExamineList(params) {
    return request({
        url: path + '/teamExamine/',
        method: 'get',
        params
    })
}
//所有积分明细
export function fundOrder(params) {
    return request({
        url: path + '/fundOrder/',
        method: 'get',
        params
    })
}
//查询提现信息
export function findOutMoneyOrderInfo(data) {
    return request({
        url: path + '/outMoney/findOutMoneyOrderInfo/',
        method: 'post',
        data
    })
}
//确认提现
export function confirmOutMoney(data) {
    return request({
        url: path + '/system/payway/confirmOutMoney/',
        method: 'post',
        data
    })
}

//拒绝提现
export function refuseOutMoney(data) {
    return request({
        url: path + '/system/payway/refuseOutMoney/',
        method: 'post',
        data
    })
}


//发放团队奖励
export function sendTeamExamineAward(data) {
    return request({
        url: path + '/teamExamine/sendTeamExamineAward/',
        method: 'post',
        data
    })
}

//发放团队奖励
export function exportExcelForIncomes(data) {
    return request({
        url: path + '/fundOrder/exportExcelForIncomes/',
        method: 'post',
        data
    })
}